package com.fBlog.service.impl;

import java.util.List;
import java.util.Map;

import com.fBlog.pojo.Comment;
import com.fBlog.pojo.Speak;

public interface SpeakServiceI {
	/**
	 * @param
	 *            
	 * @return 用户对象
	 */
	List<Speak> getSpeaks(String familyId);

	Map<String, List<Comment>> getComments(List<Speak> l);

	String addDynamics(String uniqueName, String userId, String content);

	void addComment(String userName, String speakId, String comment);

	Map<String, List<Comment>> getSelfComments(String familyId);

	void addSelfComment(String userName, String commentId, String content);

	void addGood(String userName, String speakId);

	List<Speak> getThisUserSpeak(String familyId, String userId);

	boolean deleteCom(String commentId);

	boolean deleteSpeak(String speakId);
}
